package org.gwt.project.tools;

import org.eclipse.wst.common.project.facet.core.IActionConfigFactory;

public class ToolsConfig {

	public static final String SRC_LIB = "lib";
	public static final String DST = "war";
	public static final String DST_LIB = "WEB-INF/lib";
	public static final String DST_CLS = "WEB-INF/classes";	
	
	private String srcLib = SRC_LIB;
	private String dst    = DST;
	private String dstLib = DST_LIB;
	private String dstCls = DST_CLS;

	public String getSrcLib() {
		return this.srcLib;
	}

	public void setSrcLib(String srcLib) {
		this.srcLib = srcLib;
	}

	public String getDst() {
		return this.dst;
	}
	
	public void setDst(String dst) {
		this.dst = dst;
	}
	
	public String getDstLib() {
		return this.dst + "/" + this.dstLib;
	}

	public String getDstCls() {
		return this.dst + "/" + this.dstCls;
	}

	
	
	public static final class Factory implements IActionConfigFactory {
		public ToolsConfig create() {
			return new ToolsConfig();
		}
	}
}
